78bead92fb692b19194fe7e20d3bd0b5c1c1ebaa,src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/languageConstructions/ClassConstantCanBeUsedInspector.java,TheLocalFix,applyFix,#Project#ProblemDescriptor#,144
Before Change
boolean makesSense = StringUtils.countMatches(classForReplacement, "\\") > 1;
if (makesSense && null != importMarker) {
PhpUseList use = PhpPsiElementFactory.createUseStatement(project, classForReplacement, null);
importMarker.getParent().addAfter(use, importMarker);
//noinspection ConstantConditions as we have hardcoded expression creation here
classForReplacement = use.getFirstPsiChild().getName();
}
After Change
use.getParent().addAfter(space, use);
}
} else {
importMarker.getParent().addAfter(use, importMarker);
}
//noinspection ConstantConditions as we have hardcoded expression creation here